package com.zhima.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum QuestionPublishState {
    /**
     * 发布中
     */
    PUBLISHING("publishing"),
    /**
     * 已发布
     */
    PUBLISHED("published"),
    /**
     * 发布失败
     */
    PUBLISHED_FAILURE("published_failure"),
    ;
    @EnumValue
    private final String state;

    QuestionPublishState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
